package com.comac.ins.isfd.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.comac.ins.isfd.domain.IsfdAcousticsFluidMaterial;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 声学流体材料视图对象 isfd_acoustics_fluid_material
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IsfdAcousticsFluidMaterial.class)
public class IsfdAcousticsFluidMaterialVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 对象存储主键
     */
    @ExcelProperty(value = "对象存储主键")
    private Long id;

    /**
     * 材料名称
     */
    @ExcelProperty(value = "材料名称")
    private String materialName;

    /**
     * 定压比热容(J/(kg·K))
     */
    @ExcelProperty(value = "定压比热容(J/(kg·K))")
    private Double cp;

    /**
     * 定容比热容(J/(kg·K))
     */
    @ExcelProperty(value = "定容比热容(J/(kg·K))")
    private Double cv;

    /**
     * 流体密度实部(kg/m³)
     */
    @ExcelProperty(value = "流体密度实部(kg/m³)")
    private Double fluidDensityReal;

    /**
     * 流体密度虚部(kg/m³)
     */
    @ExcelProperty(value = "流体密度虚部(kg/m³)")
    private Double fluidDensityImag;

    /**
     * 流体密度
     */
    @ExcelProperty(value = "流体密度")
    private String fluidDensity;

    public String getFluidDensity() {
        return "{" + this.fluidDensityReal + "," + this.fluidDensityImag + "}";
    }

    /**
     * 声速实部(m/s)
     */
    @ExcelProperty(value = "声速实部(m/s)")
    private Double soundSpeedReal;

    /**
     * 声速虚部(m/s)
     */
    @ExcelProperty(value = "声速虚部(m/s)")
    private Double soundSpeedImag;

    /**
     * 声速
     */
    @ExcelProperty(value = "声速")
    private String soundSpeed;

    public String getSoundSpeed() {
        return "{" + this.soundSpeedReal + "," + this.soundSpeedImag + "}";
    }

    /**
     * 热导率(W/(m·K))
     */
    @ExcelProperty(value = "热导率(W/(m·K))")
    private Double thermalConductivity;

    /**
     * 粘度(Pa·s)
     */
    @ExcelProperty(value = "粘度(Pa·s)")
    private Double viscosity;

    /**
     * 单位系统
     */
    @ExcelProperty(value = "单位系统")
    private String unitSystem;

    /**
     * 原始文件地址
     */
    @ExcelProperty(value = "原始文件地址")
    private String url;


}
